﻿using MapMaker.Engine.CoreCommon;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MapMaker.Engine.Model.VXAce
{
    public class RPG_Enemy : RPG_BaseItem
    {
        [RubyProperty("battler_name")]
        public string BattlerName { get; set; }

        [RubyProperty("battler_hue")]
        public int BattlerHue { get; set; }

        [RubyProperty("params")]
        public object[] Parameters { get; set; }

        [RubyProperty("exp")]
        public int Experience { get; set; }

        [RubyProperty("gold")]
        public int Gold { get; set; }

        [RubyProperty("drop_items")]
        public List<RPG_DropItem> DropItems { get; set; }

        public class RPG_Action
        {
            [RubyProperty("skill_id")]
            public int SkillID { get; set; }

            [RubyProperty("condition_type")]
            public object ConditionType { get; set; }

            [RubyProperty("condition_param1")]
            public object ConditionParam1 { get; set; }

            [RubyProperty("condition_param2")]
            public object ConditionParam2 { get; set; }

            [RubyProperty("rating")]
            public object Rating { get; set; }
        }
        public class RPG_DropItem
        {
            [RubyProperty("kind")]
            public int Kind { get; set; }

            [RubyProperty("data_id")]
            public int DataID { get; set; }

            [RubyProperty("denominator")]
            public int Denominator { get; set; }
        }

        internal static IEnumerable<dynamic> Export(IObjectManager factory, IEnumerable list)
        {
            throw new NotImplementedException();
        }

    }
}
